	<script src="/js/config/config.js"></script>
	<script>
	String.prototype.startWith=function(str){     
	  var reg=new RegExp("^"+str);     
	  return reg.test(this);        
	}
	if(self != top){
		top.location = self.location;
	}
	
	//下面的两个变量通过从config.js中读取
	//var host = window.location.host;
	//var domain="${systemDomain!''}";
	if(host.indexOf(":")>0){//指定了端口号的为测试环境
		domain = host.substring(0,host.indexOf(":"));
	}
	document.domain = domain;
	</script>